﻿using WH.Model.Bases;
using SqlSugar;

namespace WH.Model.Systems
{
    /// <summary>
    /// 登录配置表
    /// </summary>
    //[SugarTable("sys_logon_config")]
    public class LogonConfigEntity : BaseOrgAuditableEntity
    {
        /// <summary>
        /// 密码更换周期，单位:天
        /// </summary>
        [SugarColumn(ColumnName = "change_cycle")]
        public int ChangeCycle { get; set; }
        /// <summary>
        /// 临期天数,单位:天
        /// </summary>
        [SugarColumn(ColumnName = "advent")]
        public int Advent { get; set; }
        /// <summary>
        /// 试探次数,单位:次
        /// </summary>
        [SugarColumn(ColumnName = "trial_times")]
        public int TrialTimes { get; set; }
        /// <summary>
        /// 空闲时长,单位:分钟
        /// </summary>
        [SugarColumn(ColumnName = "Idle_time")]
        public int IdleTime { get; set; }
        /// <summary>
        /// 解锁时间,单位:分钟
        /// </summary>
        [SugarColumn(ColumnName = "unlock_time")]
        public int UnlockTime { get; set; }
        /// <summary>
        /// 登录次数统计2352
        /// </summary>
        [SugarColumn(ColumnName = "logon_count")]
        public int LogonCount { get; set; }
    }
}
